import http from '../utils/http' 
const newslist = params =>http.get('/api/minivisit/newslist',params)
const visituseradd = params =>http.post('/api/minivisit/visituseradd',params)
// 预约详情
const myvisitshow= params =>http.get('/api/minivisit/myvisit/show',params)
//我的预约
const myvisit= params =>http.post('/api/minivisit/myvisit',params)
// 取消预约
const cancel =params =>http.get('/api/minivisit/myvisit/cancel',params)
const newslistshow= params =>http.get('/api/minivisit/newslist/show',params)

const minivisitmyvisitshow = params =>http.get('/api/minivisit/myvisit/show',params)

    

module.exports={
    newslist,
    visituseradd,
    myvisitshow,
    newslist,
    myvisitshow,
    myvisit,
    cancel,
    newslistshow,
    minivisitmyvisitshow,
    visituseradd,

}

